# import uuid
# from django.contrib.auth.forms import UserCreationForm
# from users.models import User
#
#
# class RegisterForm(UserCreationForm):
#     class Meta(UserCreationForm.Meta):
#         model = User
#         fields = ('name')
#     def save(self,*args,**kwargs):
#         self.instance.username = uuid.uuid1()
#         super(RegisterForm,self).save(*args,**kwargs)